package main.resources.model.entity.moodle;

import java.io.Serializable;
import javax.persistence.*;

import java.math.BigInteger;


/**
 * The persistent class for the mdl_context database table.
 * 
 */
@Entity
@Table(name="mdl_context")
public class MdlContext implements Serializable {
	
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private BigInteger contextlevel;

	private int depth;

	private BigInteger instanceid;

	private String path;

    public MdlContext() { }

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public BigInteger getContextlevel() {
		return this.contextlevel;
	}

	public void setContextlevel(BigInteger contextlevel) {
		this.contextlevel = contextlevel;
	}

	public int getDepth() {
		return this.depth;
	}

	public void setDepth(int depth) {
		this.depth = depth;
	}

	public BigInteger getInstanceid() {
		return this.instanceid;
	}

	public void setInstanceid(BigInteger instanceid) {
		this.instanceid = instanceid;
	}

	public String getPath() {
		return this.path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String toString() {
		return "{id: " + this.id + "; contextlevel: " + this.contextlevel + "; instanceid: " + this.instanceid + "; path: " + this.path + "; depth: " + this.depth + "}"; 
	}
}